<!DOCTYPE html>
<html lang="en">

  <head>
   <include file ="Public/head"/> 
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
            <include file ="Public/left"/>
        </div>
        <!-- top navigation -->
            <include file ="Public/head1"/>
        <!-- /top navigation -->



        <!-- 各自的模块在下面 -->
                <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3> 约健管理中心 </h3>
              </div>

<form action="{:U('index.php/Admin/Shaitu/sshaitu')}" method="post" enctype="multipart/form-data">
              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                  <div class="input-group">
                    <input type="text"  Name="shaitu_explain" placeholder="查询条件" required="class="form-control">
                      <button type="submit">Go!</button>
                  </div>
                </div>
              </div>
</form>
            </div>

            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>晒图管理</h2>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">

                    <div class="row">

                      <p>Exercise for an hour every day</p>
<foreach name="shaitu" item="vo">
                      <div class="col-md-55">
                        <div class="thumbnail">
                          <div class="image view view-first">
                            <img style="width: 100%; display: block;" src="__PUBLIC__/pic/{$vo['shaitu_pic']}" alt="image" />
                            <div class="mask no-caption">
                              <div class="tools tools-bottom">
                                <a href="{:U('Admin/Shaitu/shaitudel')}?shaitu_id={$vo['shaitu_id']}">删除</a>
<!--                                 <a href="{:U('Admin/Shaitu/shaitudetail')}?shaitu_id={$vo['shaitu_id']}">
                                  详情
                                </a> -->
                                <a href="__APP__/Admin/Shaitu/shaitudetail/shaitu_id/{$vo['shaitu_id']}/uid/{$vo['uid']}">
                                详情
                                </a>
                                <a href="__APP__/Admin/Shaitu/shaitustate/shaitu_id/{$vo['shaitu_id']}/shaitu_state/{$vo['shaitu_state']}">
                                  <if condition="($vo.shaitu_state eq 0)">
                                  <span>正常</span>
                                  <else/>
                                  <span>已禁用</span>
                                  </if>
                                </a>
                              </div>
                            </div>
                          </div>
                          <div class="caption">
                            <p><strong>点击量</strong>      {$vo['shaitu_hit']}</p>
                            <p>{$vo['shaitu_explain']}</p>
                          </div>
                        </div>
                      </div>
                      </foreach>
                    </div>
                  </div>
                   <div><center>{$page1}</center></div>
                </div>
              </div>
            </div>
          </div>
        </div>
<!--         <div class="right_col" role="main">



          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3> 晒图管理 </h3>
              </div>

              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                  <div class="input-group">
                    <input type="text" class="form-control" placeholder="Search for...">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button">Go!</button>
                    </span>
                  </div>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>所有晒图</h2>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
<foreach name="shaitu" item="vo">
                    <div class="row">
                      <div class="col-md-55">
                        <div class="thumbnail">
                          <div class="image view view-first">
                            <img style="width: 100%; display: block;" src="__PUBLIC__/pic/{$vo['shaitu_pic']}" alt="image" />
                            <div class="mask">
                              <p>Your Text</p>
                              <div class="tools tools-bottom">
                                <a href="#"><i class="fa fa-link"></i></a>
                              </div>
                            </div>
                          </div>
                          <div class="caption">
                            <p>{$vo['shaitu_explain']}</p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
</foreach>
                </div>
              </div>
            </div>
          </div> -->






        </div>
        <!-- /page content -->
      </div>




    </div>
    <include file ="Public/js"/>
  </body>
</html>